home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / SETUP / US / CBUILDER / DATA.Z / MMSYSTEM.HPP < prev    next >
C/C++ Source or Header  |  1997-02-13  |  15KB  |  664 lines

  1. //----------------------------------------------------------------------------
  2. // MMSystem.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: MMSystem.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef MMSystemHPP
  6. #define MMSystemHPP
  7. //----------------------------------------------------------------------------
  8. #include <Windows.hpp>
  9. #include <System.hpp>
  10. #include <Mmsystem.h>
  11.  
  12. #pragma warn -par
  13. #pragma warn -hid 
  14. #pragma warn -inl
  15.  
  16. namespace Mmsystem
  17. {
  18. //-- type declarations -------------------------------------------------------
  19.  
  20. typedef mmtime_tag *PMMTime;
  21.  
  22. typedef mmtime_tag  TMMTime;
  23.  
  24. typedef DRVCONFIGINFOEX *PDrvConfigInfoEx;
  25.  
  26. #pragma pack(push, 1)
  27. #pragma pack(pop)
  28.  
  29. typedef DRVCONFIGINFOEX  TDrvConfigInfoEx;
  30.  
  31. typedef tagDRVCONFIGINFO *PDrvConfigInfo;
  32.  
  33. #pragma pack(push, 1)
  34. #pragma pack(pop)
  35.  
  36. typedef tagDRVCONFIGINFO  TDrvConfigInfo;
  37.  
  38. typedef long __stdcall (*TFNDriverProc)(int dwDriverId, int hdrvr, int msg, long lparam1, long lparam2
  39.     );
  40.  
  41. typedef void __stdcall (*TFNDrvCallBack)(int hdrvr, int uMsg, int dwUser, int dw1, int dw2);
  42.  
  43. typedef int *PHWAVE;
  44.  
  45. typedef int *PHWAVEIN;
  46.  
  47. typedef int *PHWAVEOUT;
  48.  
  49. typedef void __stdcall (*TFNWaveCallBack)(int hdrvr, int uMsg, int dwUser, int dw1, int dw2);
  50.  
  51. typedef wavehdr_tag *PWaveHdr;
  52.  
  53. typedef wavehdr_tag  TWaveHdr;
  54.  
  55. typedef tagWAVEOUTCAPSA *PWaveOutCapsA;
  56.  
  57. typedef tagWAVEOUTCAPSW *PWaveOutCapsW;
  58.  
  59. typedef tagWAVEOUTCAPSA *PWaveOutCaps;
  60.  
  61. typedef tagWAVEOUTCAPSA  TWaveOutCapsA;
  62.  
  63. typedef tagWAVEOUTCAPSW  TWaveOutCapsW;
  64.  
  65. typedef tagWAVEOUTCAPSA  TWaveOutCaps;
  66.  
  67. typedef tagWAVEINCAPSA *PWaveInCapsA;
  68.  
  69. typedef tagWAVEINCAPSW *PWaveInCapsW;
  70.  
  71. typedef tagWAVEINCAPSA *PWaveInCaps;
  72.  
  73. typedef tagWAVEINCAPSA  TWaveInCapsA;
  74.  
  75. typedef tagWAVEINCAPSW  TWaveInCapsW;
  76.  
  77. typedef tagWAVEINCAPSA  TWaveInCaps;
  78.  
  79. typedef waveformat_tag *PWaveFormat;
  80.  
  81. #pragma pack(push, 1)
  82. #pragma pack(pop)
  83.  
  84. typedef waveformat_tag  TWaveFormat;
  85.  
  86. typedef pcmwaveformat_tag *PPCMWaveFormat;
  87.  
  88. typedef pcmwaveformat_tag  TPCMWaveFormat;
  89.  
  90. typedef tWAVEFORMATEX *PWaveFormatEx;
  91.  
  92. #pragma pack(push, 1)
  93. typedef tWAVEFORMATEX  TWaveFormatEx;
  94. #pragma pack(pop)
  95.  
  96. typedef int *PHMIDI;
  97.  
  98. typedef int *PHMIDIIN;
  99.  
  100. typedef int *PHMIDIOUT;
  101.  
  102. typedef int *PHMIDISTRM;
  103.  
  104. typedef void __stdcall (*TFNMidiCallBack)(int hdrvr, int uMsg, int dwUser, int dw1, int dw2);
  105.  
  106. typedef Word TPatchArray[128];
  107.  
  108. typedef TPatchArray *PPatchArray;
  109.  
  110. typedef Word TKeyArray[128];
  111.  
  112. typedef TKeyArray *PKeyArray;
  113.  
  114. typedef tagMIDIOUTCAPSA *PMidiOutCapsA;
  115.  
  116. typedef tagMIDIOUTCAPSW *PMidiOutCapsW;
  117.  
  118. typedef tagMIDIOUTCAPSA *PMidiOutCaps;
  119.  
  120. typedef tagMIDIOUTCAPSA  TMidiOutCapsA;
  121.  
  122. typedef tagMIDIOUTCAPSW  TMidiOutCapsW;
  123.  
  124. typedef tagMIDIOUTCAPSA  TMidiOutCaps;
  125.  
  126. typedef tagMIDIINCAPSA *PMidiInCapsA;
  127.  
  128. typedef tagMIDIINCAPSW *PMidiInCapsW;
  129.  
  130. typedef tagMIDIINCAPSA *PMidiInCaps;
  131.  
  132. typedef tagMIDIINCAPSA  TMidiInCapsA;
  133.  
  134. typedef tagMIDIINCAPSW  TMidiInCapsW;
  135.  
  136. typedef tagMIDIINCAPSA  TMidiInCaps;
  137.  
  138. typedef midihdr_tag *PMidiHdr;
  139.  
  140. typedef midihdr_tag  TMidiHdr;
  141.  
  142. typedef midievent_tag *PMidiEvent;
  143.  
  144. typedef midievent_tag  TMidiEvent;
  145.  
  146. typedef midistrmbuffver_tag *PMidiStrmBuffVer;
  147.  
  148. typedef midistrmbuffver_tag  TMidiStrmBuffVer;
  149.  
  150. typedef midiproptimediv_tag *PMidiPropTimeDiv;
  151.  
  152. typedef midiproptimediv_tag  TMidiPropTimeDiv;
  153.  
  154. typedef midiproptempo_tag *PMidiPropTempo;
  155.  
  156. typedef midiproptempo_tag  TMidiPropTempo;
  157.  
  158. typedef tagAUXCAPSA *PAuxCapsA;
  159.  
  160. typedef tagAUXCAPSW *PAuxCapsW;
  161.  
  162. typedef tagAUXCAPSA *PAuxCaps;
  163.  
  164. typedef tagAUXCAPSA  TAuxCapsA;
  165.  
  166. typedef tagAUXCAPSW  TAuxCapsW;
  167.  
  168. typedef tagAUXCAPSA  TAuxCaps;
  169.  
  170. typedef int *PHMIXEROBJ;
  171.  
  172. typedef int *PHMIXER;
  173.  
  174. typedef tagMIXERCAPSA *PMixerCapsA;
  175.  
  176. typedef tagMIXERCAPSW *PMixerCapsW;
  177.  
  178. typedef tagMIXERCAPSA *PMixerCaps;
  179.  
  180. typedef tagMIXERCAPSA  TMixerCapsA;
  181.  
  182. typedef tagMIXERCAPSW  TMixerCapsW;
  183.  
  184. typedef tagMIXERCAPSA  TMixerCaps;
  185.  
  186. typedef tagMIXERLINEA *PMixerLineA;
  187.  
  188. typedef tagMIXERLINEW *PMixerLineW;
  189.  
  190. typedef tagMIXERLINEA *PMixerLine;
  191.  
  192. struct MMSystem_1
  193. {
  194.     int dwType;
  195.     int dwDeviceID;
  196.     Word wMid;
  197.     Word wPid;
  198.     int vDriverVersion;
  199.     char szPname[32];
  200. } ;
  201.  
  202. typedef tagMIXERLINEA  TMixerLineA;
  203.  
  204. struct MMSystem_2
  205. {
  206.     int dwType;
  207.     int dwDeviceID;
  208.     Word wMid;
  209.     Word wPid;
  210.     int vDriverVersion;
  211.     wchar_t szPname[32];
  212. } ;
  213.  
  214. typedef tagMIXERLINEW  TMixerLineW;
  215.  
  216. typedef tagMIXERLINEA  TMixerLine;
  217.  
  218. typedef tagMIXERCONTROLA *PMixerControlA;
  219.  
  220. typedef tagMIXERCONTROLW *PMixerControlW;
  221.  
  222. typedef tagMIXERCONTROLA *PMixerControl;
  223.  
  224. struct MMSystem_3
  225. {
  226.     
  227.     union
  228.     {
  229.         int dwReserved[6];
  230.         struct 
  231.         {
  232.             int dwMinimum;
  233.             int dwMaximum;
  234.             
  235.         };
  236.         struct 
  237.         {
  238.             long lMinimum;
  239.             long lMaximum;
  240.             
  241.         };
  242.         
  243.     };
  244. } ;
  245.  
  246. struct MMSystem_4
  247. {
  248.     
  249.     union
  250.     {
  251.         int dwReserved[6];
  252.         int cbCustomData;
  253.         int cSteps;
  254.         
  255.     };
  256. } ;
  257.  
  258. #pragma pack(push, 1)
  259. #pragma pack(pop)
  260.  
  261. typedef tagMIXERCONTROLA  TMixerControlA;
  262.  
  263. struct MMSystem_5
  264. {
  265.     
  266.     union
  267.     {
  268.         int dwReserved[6];
  269.         struct 
  270.         {
  271.             int dwMinimum;
  272.             int dwMaximum;
  273.             
  274.         };
  275.         struct 
  276.         {
  277.             long lMinimum;
  278.             long lMaximum;
  279.             
  280.         };
  281.         
  282.     };
  283. } ;
  284.  
  285. struct MMSystem_6
  286. {
  287.     
  288.     union
  289.     {
  290.         int dwReserved[6];
  291.         int cbCustomData;
  292.         int cSteps;
  293.         
  294.     };
  295. } ;
  296.  
  297. #pragma pack(push, 1)
  298. #pragma pack(pop)
  299.  
  300. typedef tagMIXERCONTROLW  TMixerControlW;
  301.  
  302. typedef tagMIXERCONTROLA  TMixerControl;
  303.  
  304. typedef tagMIXERLINECONTROLSA *PMixerLineControlsA;
  305.  
  306. typedef tagMIXERLINECONTROLSW *PMixerLineControlsW;
  307.  
  308. typedef tagMIXERLINECONTROLSA *PMixerLineControls;
  309.  
  310. typedef tagMIXERLINECONTROLSA  TMixerLineControlsA;
  311.  
  312. typedef tagMIXERLINECONTROLSW  TMixerLineControlsW;
  313.  
  314. typedef tagMIXERLINECONTROLSA  TMixerLineControls;
  315.  
  316. typedef tMIXERCONTROLDETAILS *PMixerControlDetails;
  317.  
  318. typedef tMIXERCONTROLDETAILS  TMixerControlDetails;
  319.  
  320. typedef tagMIXERCONTROLDETAILS_LISTTEXTA *PMixerControlDetailsListTextA;
  321.  
  322. typedef tagMIXERCONTROLDETAILS_LISTTEXTW *PMixerControlDetailsListTextW;
  323.  
  324. typedef tagMIXERCONTROLDETAILS_LISTTEXTA *PMixerControlDetailsListText;
  325.  
  326. typedef tagMIXERCONTROLDETAILS_LISTTEXTA  TMixerControlDetailsListTextA;
  327.  
  328. typedef tagMIXERCONTROLDETAILS_LISTTEXTW  TMixerControlDetailsListTextW;
  329.  
  330. typedef tagMIXERCONTROLDETAILS_LISTTEXTA  TMixerControlDetailsListText;
  331.  
  332. typedef tMIXERCONTROLDETAILS_BOOLEAN *PMixerControlDetailsBoolean;
  333.  
  334. typedef tMIXERCONTROLDETAILS_BOOLEAN  TMixerControlDetailsBoolean;
  335.  
  336. typedef tMIXERCONTROLDETAILS_SIGNED *PMixerControlDetailsSigned;
  337.  
  338. typedef tMIXERCONTROLDETAILS_SIGNED  TMixerControlDetailsSigned;
  339.  
  340. typedef tMIXERCONTROLDETAILS_UNSIGNED *PMixerControlDetailsUnsigned;
  341.  
  342. typedef tMIXERCONTROLDETAILS_UNSIGNED  TMixerControlDetailsUnsigned;
  343.  
  344. typedef void __fastcall (*TFNTimeCallBack)(int uTimerID, int uMessage, int dwUser, int dw1, int dw2)
  345.     ;
  346.  
  347. typedef timecaps_tag *PTimeCaps;
  348.  
  349. typedef timecaps_tag  TTimeCaps;
  350.  
  351. typedef tagJOYCAPSA *PJoyCapsA;
  352.  
  353. typedef tagJOYCAPSW *PJoyCapsW;
  354.  
  355. typedef tagJOYCAPSA *PJoyCaps;
  356.  
  357. typedef tagJOYCAPSA  TJoyCapsA;
  358.  
  359. typedef tagJOYCAPSW  TJoyCapsW;
  360.  
  361. typedef tagJOYCAPSA  TJoyCaps;
  362.  
  363. typedef joyinfo_tag *PJoyInfo;
  364.  
  365. typedef joyinfo_tag  TJoyInfo;
  366.  
  367. typedef joyinfoex_tag *PJoyInfoEx;
  368.  
  369. typedef joyinfoex_tag  TJoyInfoEx;
  370.  
  371. typedef int *PHMMIO;
  372.  
  373. typedef long __stdcall (*TFNMMIOProc)(char * lpmmioinfo, int uMessage, long lParam1, long lParam2);
  374.  
  375. typedef _MMIOINFO *PMMIOInfo;
  376.  
  377. typedef _MMIOINFO  TMMIOInfo;
  378.  
  379. typedef _MMCKINFO *PMMCKInfo;
  380.  
  381. typedef _MMCKINFO  TMMCKInfo;
  382.  
  383. typedef int __stdcall (*TFNYieldProc)(int mciId, int dwYieldData);
  384.  
  385. typedef tagMCI_GENERIC_PARMS *PMCI_Generic_Parms;
  386.  
  387. typedef tagMCI_GENERIC_PARMS  TMCI_Generic_Parms;
  388.  
  389. typedef tagMCI_OPEN_PARMSA *PMCI_Open_ParmsA;
  390.  
  391. typedef tagMCI_OPEN_PARMSW *PMCI_Open_ParmsW;
  392.  
  393. typedef tagMCI_OPEN_PARMSA *PMCI_Open_Parms;
  394.  
  395. typedef tagMCI_OPEN_PARMSA  TMCI_Open_ParmsA;
  396.  
  397. typedef tagMCI_OPEN_PARMSW  TMCI_Open_ParmsW;
  398.  
  399. typedef tagMCI_OPEN_PARMSA  TMCI_Open_Parms;
  400.  
  401. typedef tagMCI_PLAY_PARMS *PMCI_Play_Parms;
  402.  
  403. typedef tagMCI_PLAY_PARMS  TMCI_Play_Parms;
  404.  
  405. typedef tagMCI_SEEK_PARMS *PMCI_Seek_Parms;
  406.  
  407. type